<template>
  <div class="left-container">
    <h3>Left 组件</h3>
    <!-- 渲染 Article 组件 -->
    <ArticleVue>
      <template #mingzi="item">
        <h3>年龄{{item.age}}</h3>
      </template>
      <template #zuozhe>
        <p>哈哈哈哈</p>
      </template>

    </ArticleVue>

  </div>
</template>

<script>
import ArticleVue from './Article.vue'

export default {
  components: {
    ArticleVue
  }
}
</script>

<style lang="less">
.left-container {
  padding: 0 20px 20px;
  background-color: orange;
  min-height: 250px;
  flex: 1;
}
</style>
